﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using WalkingTec.Mvvm.Core;

namespace TRPGDAS.Model.Character
{
    public class Player : PersistPoco
    {
        [Display(Name="姓名")]
        [Required(ErrorMessage = "{0}是必填项")]
        [StringLength(20, ErrorMessage = "{0}最多输入{1}个字符")]
        public string Name { get; set; }

        [Display(Name = "头像")]
        [StringLength(256, ErrorMessage = "{0}最多输入{1}个字符")]
        public string PictureURL { get; set; }

        [Display(Name = "年龄")]
        public int Age { get; set; }

        [Display(Name = "性别")]
        public SexualityType Sexuality { get; set; }

        [Display(Name = "种族")]
        [StringLength(16, ErrorMessage = "{0}最多输入{1}个字符")]
        public string Race { get; set; }

        [Display(Name = "体型偏向")]
        public BodyType BodyType { get; set; }

        [Display(Name = "阵营/性格")]
        public AlignmentType Alignment { get; set; }

        [Display(Name = "轮回次数")]
        public int PlayFrequency { get; set; }

        [Display(Name = "积分数值")]
        public int Point { get; set; }

        [Display(Name = "序列碎片")]
        public int MaterialPoint { get; set; }

        [Display(Name = "壮硕")]
        public int Physique { get; set; }

        [Display(Name = "爆发")]
        public int Explosiveness { get; set; }

        [Display(Name = "协调")]
        public int Coordination { get; set; }

        [Display(Name = "精神")]
        public int Spirit { get; set; }

        [Display(Name = "反应")]
        public int Reactivity { get; set; }

        [Display(Name = "幸运")]
        public int Fortune { get; set; }
    }
}
